import { useModel } from "@umijs/max";

export const useThemeType = () => {
  const { initialState = {} } = useModel("@@initialState");
  const { settings = {} } = initialState;
  const { navTheme } = settings;

  return navTheme;
};
